Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

57 rindas
2.1KB

  1. # -*- coding: utf-8 -*-
  2. """
  3. MIT License
  4. Copyright (c) 2017-2018 Roxanne Gibson
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included in all
  12. copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. SOFTWARE.
  20. """
  21. from roxbot import checks, http, guild_settings, converters, utils
  22. from roxbot.enums import EmbedColours
  23. from roxbot.logging import log
  24. from roxbot.utils import blacklisted
  25. import configparser
  26. settings = configparser.ConfigParser()
  27. settings.read("roxbot/settings/preferences.ini")
  28. command_prefix = settings["Roxbot"]["Command_Prefix"]
  29. owner = int(settings["Roxbot"]["OwnerID"])
  30. token = settings["Tokens"]["Discord"]
  31. tat_token = settings["Tokens"]["Tatsumaki"]
  32. imgur_token = settings["Tokens"]["Imgur"]
  33. __description__ = """RoxBot, A Discord Bot made by a filthy Mercy Main. Built with love (and discord.py) by Roxxers#7443.
  34. [Gitlab link](https://gitlab.roxxers.xyz/roxxers/roxbot)
  35. [Changelog](https://gitlab.roxxers.xyz/roxxers/roxbot/blob/master/CHANGELOG.md)
  36. [Found a bug or need to report an issue? Report it here](https://gitlab.roxxers.xyz/roxxers/roxbot/issues/new?issue)
  37. [Say Thanks](https://saythanks.io/to/Roxxers)"""
  38. __author__ = "Roxanne Gibson"
  39. __version__ = "2.0.0a"
  40. datetime_formatting = "{:%a %Y/%m/%d %H:%M:%S} UTC"