From 62dd87dcaa7e81a9637b41a51b047027d04572d2 Mon Sep 17 00:00:00 2001 From: chewingbever Date: Wed, 26 Aug 2020 18:13:54 +0200 Subject: [PATCH 1/2] Added to README --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 142d880..e7fb410 100644 --- a/README.md +++ b/README.md @@ -75,3 +75,17 @@ These three decorators are the bread and butter of Frank. Let's break them down: - `frank.default` defines the command that should be run if the module is called without explicitely giving a command. For example, if you call `fr examp` without specifying a command, it will run the default command. This is useful for making a command that's used very often easier to execute. + +In the end, all you need to do is the following in your main script: + +```python +from frank import Frank +# Or whatever your package containing your modules is called +from modules import ExampleMod + +if __name__ == '__main__': + client = Frank([ExampleMod]) + client.run(YOUR_DISCORD_TOKEN) +``` + +You can obtain this token from the Discord developer page. From d1080d0fcb84523faa083e89ac447fa8947f9759 Mon Sep 17 00:00:00 2001 From: chewingbever Date: Sat, 29 Aug 2020 10:01:01 +0200 Subject: [PATCH 2/2] Added bug & features request issue templates --- .gitlab/issue_templates/Bug.md | 29 ++++++++++++++++++++++ .gitlab/issue_templates/Feature Request.md | 21 ++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .gitlab/issue_templates/Bug.md create mode 100644 .gitlab/issue_templates/Feature Request.md diff --git a/.gitlab/issue_templates/Bug.md b/.gitlab/issue_templates/Bug.md new file mode 100644 index 0000000..a53f0d2 --- /dev/null +++ b/.gitlab/issue_templates/Bug.md @@ -0,0 +1,29 @@ + + +### Summary + + + +### Steps to reproduce + + + +### What is the current behavior? + + + +### What is the expected behavior? + + + +### Relevant error messages + + + +### Possible fixes + + + + +/label ~bug diff --git a/.gitlab/issue_templates/Feature Request.md b/.gitlab/issue_templates/Feature Request.md new file mode 100644 index 0000000..809e5bf --- /dev/null +++ b/.gitlab/issue_templates/Feature Request.md @@ -0,0 +1,21 @@ + + +### The idea + + + +### Intended users + + + +### Proposal + + + +### Further details + + + + +/label ~feature