add copyright headers to all files
This commit is contained in:
parent
a7d9c03786
commit
5a7acbfe3e
|
@ -42,3 +42,8 @@ To add the bot to your server, visit https://discordapp.com/oauth2/authorize?cli
|
|||
<p>
|
||||
<code>@Emote Manager rename old_name new_name</code> will rename :old_name: to :new_name:.
|
||||
</p>
|
||||
|
||||
|
||||
## License
|
||||
|
||||
AGPLv3, see LICENSE.md. © 2018–2020 io mintz <io@mintz.cc>
|
||||
|
|
16
bot.py
16
bot.py
|
@ -1,5 +1,19 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import logging
|
||||
import traceback
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import asyncio
|
||||
import cgi
|
||||
|
|
16
cogs/meta.py
16
cogs/meta.py
|
@ -1,5 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import contextlib
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
# You can obtain these ones from the discordbots.org server under the name "tickNo" and "tickYes"
|
||||
# but I uploaded them to my test server
|
||||
# so that both the staging and the stable versions of the bot can use them
|
||||
'response_emotes': {
|
||||
'response_emojis': {
|
||||
'success': { # emotes used to indicate success or failure
|
||||
False: '<:error:478164511879069707>',
|
||||
True: '<:success:478164452261363712>'
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
|
||||
from .misc import *
|
||||
from . import archive
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import asyncio
|
||||
import collections
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
_emote_type_predicates = {
|
||||
'': lambda _: True, # allow usage as a "consume rest" converter
|
||||
'all': lambda _: True,
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import re
|
||||
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import asyncio
|
||||
|
||||
from discord.ext import commands
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import asyncio
|
||||
import base64
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
# encoding: utf-8
|
||||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
"""various utilities for use within the bot"""
|
||||
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
# © 2018–2020 io mintz <io@mintz.cc>
|
||||
#
|
||||
# Emote Manager is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# Emote Manager is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with Emote Manager. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import asyncio
|
||||
import contextlib
|
||||
import typing
|
||||
|
|
Loading…
Reference in New Issue