Compare commits
No commits in common. "99e7d90185cf03a229f9757692e9dfc8ecbcc93a" and "32e1ffd942c0644345acf92d8e065713b3b92b29" have entirely different histories.
99e7d90185
...
32e1ffd942
19 changed files with 40 additions and 46 deletions
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
Lint Code (Pylint):
|
Lint Code (Pylint):
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: www.coastalcommits.com/cswimr/actions:galaxycogs
|
container: coastalcommits.com/seaswimmerthefsh/actionscontainers-galaxycogs:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from redbot.core import Config, checks, commands, data_manager
|
from redbot.core import Config, checks, commands, data_manager
|
||||||
|
|
||||||
|
|
||||||
class ExportChannels(commands.Cog):
|
class ExportChannels(commands.Cog):
|
||||||
"""Custom cog to export channels to JSON and HTML formats using Discord Chat Exporter.
|
"""Custom cog to export channels to JSON and HTML formats using Discord Chat Exporter.
|
||||||
Developed by cswimr and yname."""
|
Developed by SeaswimmerTheFsh and yname."""
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
|
@ -5,7 +5,7 @@ from redbot.core import Config, commands
|
||||||
|
|
||||||
class Forums(commands.Cog):
|
class Forums(commands.Cog):
|
||||||
"""Custom cog intended for use on the Galaxy discord server.
|
"""Custom cog intended for use on the Galaxy discord server.
|
||||||
Developed by cswimr."""
|
Developed by SeaswimmerTheFsh."""
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Forums!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Forums!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Forums",
|
"name" : "Forums",
|
||||||
"short" : "Custom cog intended for use on the Galaxy discord server.",
|
"short" : "Custom cog intended for use on the Galaxy discord server.",
|
||||||
"description" : "Custom cog intended for use on the Galaxy discord server.",
|
"description" : "Custom cog intended for use on the Galaxy discord server.",
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
import re
|
|
||||||
from datetime import datetime
|
|
||||||
from random import randint
|
from random import randint
|
||||||
|
import re
|
||||||
|
import subprocess
|
||||||
|
from datetime import datetime
|
||||||
import discord
|
import discord
|
||||||
from redbot.core import Config, app_commands, commands
|
from redbot.core import Config, app_commands, checks, commands
|
||||||
from redbot.core.app_commands import Choice
|
from redbot.core.app_commands import Choice
|
||||||
|
|
||||||
|
|
||||||
class Galaxy(commands.Cog):
|
class Galaxy(commands.Cog):
|
||||||
"""Custom cog intended for use on the Galaxy discord server.
|
"""Custom cog intended for use on the Galaxy discord server.
|
||||||
Developed by cswimr."""
|
Developed by SeaswimmerTheFsh."""
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Galaxy!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Galaxy!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Galaxy",
|
"name" : "Galaxy",
|
||||||
"short" : "Custom cog intended for use on the Galaxy discord server.",
|
"short" : "Custom cog intended for use on the Galaxy discord server.",
|
||||||
"description" : "Custom cog intended for use on the Galaxy discord server.",
|
"description" : "Custom cog intended for use on the Galaxy discord server.",
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"author": [
|
"author": [
|
||||||
"cswimr, yname, meelyman"
|
"SeaswimmerTheFsh, yname, meelyman"
|
||||||
],
|
],
|
||||||
"install_msg": "Thanks for installing my repo!\n\nIf you have any issues with any of the cogs, please create an issue here: https://coastalcommits.com/cswimr/GalaxyCogs/issues.",
|
"install_msg": "Thanks for installing my repo!\n\nIf you have any issues with any of the cogs, please create an issue here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/issues.",
|
||||||
"name": "Galaxy",
|
"name": "Galaxy",
|
||||||
"short": "Cogs intended for use on the Galaxy discord server.",
|
"short": "Cogs intended for use on the Galaxy discord server.",
|
||||||
"description": "Custom cogs/cog modifications intended for the Galaxy discord server."
|
"description": "Custom cogs/cog modifications intended for the Galaxy discord server."
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Info!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Info!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Info",
|
"name" : "Info",
|
||||||
"short" : "Provides information on Discord objects.",
|
"short" : "Provides information on Discord objects.",
|
||||||
"description" : "Provides information on Discord objects. Most of this code is shamelessly ripped from <https://github.com/Cog-Creators/Red-DiscordBot/tree/V3/develop/redbot/cogs>.",
|
"description" : "Provides information on Discord objects. Most of this code is shamelessly ripped from <https://github.com/Cog-Creators/Red-DiscordBot/tree/V3/develop/redbot/cogs>.",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Issues!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Issues!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Issues",
|
"name" : "Issues",
|
||||||
"short" : "This cog allows you to create Gitea issues through a Discord modal.",
|
"short" : "This cog allows you to create Gitea issues through a Discord modal.",
|
||||||
"description" : "This cog allows you to create Gitea issues through a Discord modal.",
|
"description" : "This cog allows you to create Gitea issues through a Discord modal.",
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
import discord
|
import discord
|
||||||
from redbot.core import Config, app_commands, checks, commands
|
from redbot.core import Config, app_commands, commands, checks
|
||||||
|
|
||||||
from . import modals
|
from . import modals
|
||||||
|
|
||||||
|
|
||||||
class Issues(commands.Cog):
|
class Issues(commands.Cog):
|
||||||
"""This cog allows you to create Gitea issues through a Discord modal.
|
"""This cog allows you to create Gitea issues through a Discord modal.
|
||||||
Developed by cswimr."""
|
Developed by SeaswimmerTheFsh."""
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
@ -33,8 +31,8 @@ class Issues(commands.Cog):
|
||||||
"""Found a bug or have a suggestion for the Galaxy bot? Use this command."""
|
"""Found a bug or have a suggestion for the Galaxy bot? Use this command."""
|
||||||
color = await self.bot.get_embed_color(None)
|
color = await self.bot.get_embed_color(None)
|
||||||
embed = discord.Embed(title="Issue Reporting & Suggestions", color=await self.bot.get_embed_color(None), description="Have a problem or a suggestion for the Galaxy bot or GalaxyCogs? Read this!")
|
embed = discord.Embed(title="Issue Reporting & Suggestions", color=await self.bot.get_embed_color(None), description="Have a problem or a suggestion for the Galaxy bot or GalaxyCogs? Read this!")
|
||||||
embed.add_field(name="Bot Issues & Suggestions", value="If you'd like to submit a suggestion or a bug report to the developers of the Galaxy bot, please do so with the buttons below or by going [here](https://coastalcommits.com/cswimr/GalaxyCogs/issues/new/choose).\n**Please make sure whatever you're suggesting or reporting doesn't have an existing issue! If it does, you can comment on that issue with additional details if necessary.**")
|
embed.add_field(name="Bot Issues & Suggestions", value="If you'd like to submit a suggestion or a bug report to the developers of the Galaxy bot, please do so with the buttons below or by going [here](https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/issues/new/choose).\n**Please make sure whatever you're suggesting or reporting doesn't have an existing issue! If it does, you can comment on that issue with additional details if necessary.**")
|
||||||
embed.add_field(name="Cog Issues & Suggestions", value="If you'd like to submit a suggestion or a bug report to the developers of GalaxyCogs, please do so with the buttons below or by going [here](https://coastalcommits.com/cswimr/GalaxyCogs/issues/new/choose).\n**Please make sure whatever you're suggesting or reporting doesn't have an existing issue! If it does, you can comment on that issue with additional details if necessary.**")
|
embed.add_field(name="Cog Issues & Suggestions", value="If you'd like to submit a suggestion or a bug report to the developers of GalaxyCogs, please do so with the buttons below or by going [here](https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/issues/new/choose).\n**Please make sure whatever you're suggesting or reporting doesn't have an existing issue! If it does, you can comment on that issue with additional details if necessary.**")
|
||||||
await interaction.response.send_message(embed=embed, view=self.IssueButtons(color, self, interaction), ephemeral=True)
|
await interaction.response.send_message(embed=embed, view=self.IssueButtons(color, self, interaction), ephemeral=True)
|
||||||
|
|
||||||
async def submit_issue_request(self, interaction: discord.Interaction, original_interaction: discord.Interaction, embed: discord.Embed):
|
async def submit_issue_request(self, interaction: discord.Interaction, original_interaction: discord.Interaction, embed: discord.Embed):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Podcast!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Podcast!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Podcast",
|
"name" : "Podcast",
|
||||||
"short" : "Provides a questions submission system.",
|
"short" : "Provides a questions submission system.",
|
||||||
"description" : "Provies a questions submission system.",
|
"description" : "Provies a questions submission system.",
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
from redbot.core import Config, checks, commands
|
from redbot.core import commands, checks, Config
|
||||||
|
|
||||||
|
|
||||||
class Podcast(commands.Cog):
|
class Podcast(commands.Cog):
|
||||||
"""Provides a questions submission system for podcasts.
|
"""Provides a questions submission system for podcasts.
|
||||||
Developed by cswimr."""
|
Developed by SeaswimmerTheFsh."""
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Send!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Send!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Send",
|
"name" : "Send",
|
||||||
"short" : "Allows you to send messages as the bot user!",
|
"short" : "Allows you to send messages as the bot user!",
|
||||||
"description" : "Allows you to send messages as the bot user!.",
|
"description" : "Allows you to send messages as the bot user!.",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing Shortmute!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing Shortmute!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "Shortmute",
|
"name" : "Shortmute",
|
||||||
"short" : "Allows staff members to shortmute individuals for up to 30 minutes.",
|
"short" : "Allows staff members to shortmute individuals for up to 30 minutes.",
|
||||||
"description" : "Allows staff members to shortmute individuals for up to 30 minutes, using Discord's Timeouts feature.",
|
"description" : "Allows staff members to shortmute individuals for up to 30 minutes, using Discord's Timeouts feature.",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr, meelyman"],
|
"author" : ["SeaswimmerTheFsh, meelyman"],
|
||||||
"install_msg" : "Thank you for installing Suggestions!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs\nYou can find the original source code from SauriCogs here: <https://github.com/elijabesu/SauriCogs>",
|
"install_msg" : "Thank you for installing Suggestions!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs\nYou can find the original source code from SauriCogs here: <https://github.com/elijabesu/SauriCogs>",
|
||||||
"name" : "Suggestions",
|
"name" : "Suggestions",
|
||||||
"short" : "Simple suggestions system.",
|
"short" : "Simple suggestions system.",
|
||||||
"description" : "Per guild suggestions system.",
|
"description" : "Per guild suggestions system.",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing SugonCredit!\n**Please load the Economy cog before loading this cog.**\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs.",
|
"install_msg" : "Thank you for installing SugonCredit!\n**Please load the Economy cog before loading this cog.**\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs.",
|
||||||
"name" : "SugonCredit",
|
"name" : "SugonCredit",
|
||||||
"short" : "Simple points system.",
|
"short" : "Simple points system.",
|
||||||
"description" : "Implements a way for moderators to give out social-credit like points, dubbed 'sugoncredits' by the community.",
|
"description" : "Implements a way for moderators to give out social-credit like points, dubbed 'sugoncredits' by the community.",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing World Zero!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing World Zero!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "World Zero",
|
"name" : "World Zero",
|
||||||
"short" : "This cog is meant to provide random functions for my crippling World Zero addiction!",
|
"short" : "This cog is meant to provide random functions for my crippling World Zero addiction!",
|
||||||
"description" : "This cog is meant to provide random functions for my crippling World Zero addiction!",
|
"description" : "This cog is meant to provide random functions for my crippling World Zero addiction!",
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
import discord
|
|
||||||
from redbot.core import commands
|
from redbot.core import commands
|
||||||
|
import discord
|
||||||
|
|
||||||
class WorldZero(commands.Cog):
|
class WorldZero(commands.Cog):
|
||||||
"""This cog is meant to provide random functions for my crippling World Zero addiction!
|
"""This cog is meant to provide random functions for my crippling World Zero addiction!
|
||||||
Developed by cswimr."""
|
Developed by SeaswimmerTheFsh."""
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"author" : ["cswimr"],
|
"author" : ["SeaswimmerTheFsh"],
|
||||||
"install_msg" : "Thank you for installing YouTubeDownloader!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/GalaxyCogs",
|
"install_msg" : "Thank you for installing YouTubeDownloader!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||||
"name" : "YouTubeDownloader",
|
"name" : "YouTubeDownloader",
|
||||||
"short" : "Custom cog intended for use on the Galaxy discord server.",
|
"short" : "Custom cog intended for use on the Galaxy discord server.",
|
||||||
"description" : "Custom cog intended for use on the Galaxy discord server.",
|
"description" : "Custom cog intended for use on the Galaxy discord server.",
|
||||||
|
|
Loading…
Reference in a new issue