From 0cc613ef8a65437a6a16a5b9ac55c917cc5ec5a7 Mon Sep 17 00:00:00 2001 From: 0x5c <0x5c.dev@gmail.com> Date: Mon, 7 Oct 2019 12:17:52 -0400 Subject: [PATCH] Templates: added proper comments (#30) - Added a default value for 'owners_uids' - Added notes on proper types where applicable. - That's pretty much it Fixes #26 --- templates/template_keys.py | 1 + templates/template_options.py | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/template_keys.py b/templates/template_keys.py index 243611e..28ce5ef 100644 --- a/templates/template_keys.py +++ b/templates/template_keys.py @@ -12,4 +12,5 @@ API keys and tokens for the bot. --- """ +# The Discord bot token discord_token = "" diff --git a/templates/template_options.py b/templates/template_options.py index 29403a6..acf65bc 100644 --- a/templates/template_options.py +++ b/templates/template_options.py @@ -12,6 +12,15 @@ Settings and options for the bot. --- """ +# The prefix for the bot (str). Define a list of stings for multiple prefixes. +# ie: `["?", "!", "pls "]` prefix = "?" + +# Whether the bot should print full stacktraces for normal exceptions: `True`, +# or be nice and only print small messages: `False` (the default). debug = False -owners_uids = () + +# A tuple of user IDs that should be considered "bot owners". +# * Those users will have full control over the bot. +# ! This MUST be a tuple of integers. Single element tuple: `(123,)` +owners_uids = (200102491231092736,)