Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mode to org #14

Merged
merged 4 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
BUILD_DATE: ${{ github.event.head_commit.timestamp }}
IMAGE_NAME: hammy-mchamilton
REPO_OWNER: parttimelegend
REPO_OWNER: hamhangout

steps:
- name: Checkout code
Expand Down
7 changes: 7 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.md @HamHangOut/Documentation
docs/* @HamHangOut/Documentation
.github/workflows/* @HamHangOut/Github
.github/FUNDING.yml @HamHangOut/Admins
* @HamHangOut/Developers
*.py @HamHangOut/Python
requirements.txt @HamHangOut/Python
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Joshua Clarke and Antony Bailey
Copyright (c) 2024 Ham Hang Out Developers and Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 3 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Hammy McHamilton Discord Quiz Bot

[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](code_of_conduct.md)

This is a Discord bot written in Python that hosts a quiz game with questions and answers on from the RSGB Amateur Radio Examination questions list. The bot randomly selects questions from a predefined quiz data set and prompts users to answer them within a specified time limit.

![.... --- .-- / -.. --- . ... / .- / -... .- ... - .- .-. -.. --..-- / --- .-. .--. .... .- -. --..-- / ... --- -. / --- ..-. / .- / .-- .... --- .-. . / .- -. -.. / .- / ... -.-. --- - ... -- .- -. --..-- / -.. .-. --- .--. .--. . -.. / .. -. / - .... . / -- .. -.. -.. .-.. . / --- ..-. / .- / ..-. --- .-. --. --- - - . -. / ... .--. --- - / .. -. / - .... . / -.-. .- .-. .. -... -... . .- -. / -... -.-- / .--. .-. --- ...- .. -.. . -. -.-. . --..-- / .. -- .--. --- ...- . .-. .. ... .... . -.. --..-- / .. -. / ... --.- ..- .- .-.. --- .-. / --. .-. --- .-- / ..- .--. / - --- / -... . / .- / .... . .-. --- / .- -. -.. / .- / ... -.-. .... --- .-.. .- .-. ..--..](docs/hammy.jpg?raw=true "Hammy McHamilton")
Expand All @@ -16,7 +18,7 @@ This is a Discord bot written in Python that hosts a quiz game with questions an
1. Clone this repository to your local machine:

```bash
git clone https://github.com/parttimelegend/hammy-mchamilton.git
git clone https://github.com/HamHangOut/hammy-mchamilton.git
```

2. Navigate to the project directory:
Expand Down
18 changes: 9 additions & 9 deletions deploy/terraform/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ No requirements.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_app_name"></a> [app\_name](#input\_app\_name) | n/a | `string` | `"hammy"` | no |
| <a name="input_app_service_sku_name"></a> [app\_service\_sku\_name](#input\_app\_service\_sku\_name) | n/a | `string` | `"P1v2"` | no |
| <a name="input_container"></a> [container](#input\_container) | n/a | `string` | `"parttimelegend/hammy-mchamilton:latest"` | no |
| <a name="input_container_registry"></a> [container\_registry](#input\_container\_registry) | n/a | `string` | `"https://ghcr.io"` | no |
| <a name="input_discord_token"></a> [discord\_token](#input\_discord\_token) | n/a | `string` | n/a | yes |
| <a name="input_environment"></a> [environment](#input\_environment) | n/a | `string` | n/a | yes |
| <a name="input_keyvault_sku_name"></a> [keyvault\_sku\_name](#input\_keyvault\_sku\_name) | n/a | `string` | `"standard"` | no |
| <a name="input_location"></a> [location](#input\_location) | n/a | `string` | `"UK South"` | no |
| <a name="input_os_type"></a> [os\_type](#input\_os\_type) | n/a | `string` | `"Linux"` | no |
| <a name="input_app_name"></a> [app\_name](#input\_app\_name) | The app name to use. | `string` | `"hammy"` | no |
| <a name="input_app_service_sku_name"></a> [app\_service\_sku\_name](#input\_app\_service\_sku\_name) | The sku to use for the app service | `string` | `"P1v2"` | no |
| <a name="input_container"></a> [container](#input\_container) | Container name | `string` | `"HamHangOut/hammy-mchamilton:latest"` | no |
| <a name="input_container_registry"></a> [container\_registry](#input\_container\_registry) | Container registry URL | `string` | `"https://ghcr.io"` | no |
| <a name="input_discord_token"></a> [discord\_token](#input\_discord\_token) | n/a | `string` | `"Discord oauth2 token. SENSITIVE."` | no |
| <a name="input_environment"></a> [environment](#input\_environment) | The environment to deploy this app service to e.g., dev, test, staging, prod. | `string` | n/a | yes |
| <a name="input_keyvault_sku_name"></a> [keyvault\_sku\_name](#input\_keyvault\_sku\_name) | The SKU to use for the KeyVault | `string` | `"standard"` | no |
| <a name="input_location"></a> [location](#input\_location) | The Azure location for deploying this this application to. | `string` | `"UK South"` | no |
| <a name="input_os_type"></a> [os\_type](#input\_os\_type) | OS Type (Windows / Linux) | `string` | `"Linux"` | no |

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion deploy/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ variable "app_name" {

variable "container" {
type = string
default = "parttimelegend/hammy-mchamilton:latest"
default = "HamHangOut/hammy-mchamilton:latest"
description = "Container name"
}

Expand Down