Compare commits

..

2 commits

Author SHA1 Message Date
99e7d90185
changed all instances of SeaswimmerTheFsh to cswimr
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 45s
2024-09-16 09:20:13 -04:00
a81f578756
fix(actions): changed workflow container tag 2024-08-27 15:34:49 -04:00
19 changed files with 45 additions and 39 deletions

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
Lint Code (Pylint): Lint Code (Pylint):
runs-on: docker runs-on: docker
container: coastalcommits.com/seaswimmerthefsh/actionscontainers-galaxycogs:latest container: www.coastalcommits.com/cswimr/actions:galaxycogs
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View file

@ -1,11 +1,13 @@
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 SeaswimmerTheFsh and yname.""" Developed by cswimr and yname."""
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot

View file

@ -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 SeaswimmerTheFsh.""" Developed by cswimr."""
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Forums!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Forums!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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.",

View file

@ -1,15 +1,15 @@
from random import randint
import re import re
import subprocess
from datetime import datetime from datetime import datetime
from random import randint
import discord import discord
from redbot.core import Config, app_commands, checks, commands from redbot.core import Config, app_commands, 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 SeaswimmerTheFsh.""" Developed by cswimr."""
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Galaxy!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Galaxy!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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.",

View file

@ -1,8 +1,8 @@
{ {
"author": [ "author": [
"SeaswimmerTheFsh, yname, meelyman" "cswimr, 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/SeaswimmerTheFsh/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/cswimr/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."

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Info!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Info!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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>.",

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Issues!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Issues!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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.",

View file

@ -1,10 +1,12 @@
import discord import discord
from redbot.core import Config, app_commands, commands, checks from redbot.core import Config, app_commands, checks, commands
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 SeaswimmerTheFsh.""" Developed by cswimr."""
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@ -31,8 +33,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/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="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="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.**") 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.**")
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):

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Podcast!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Podcast!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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.",

View file

@ -1,8 +1,9 @@
from redbot.core import commands, checks, Config from redbot.core import Config, checks, commands
class Podcast(commands.Cog): class Podcast(commands.Cog):
"""Provides a questions submission system for podcasts. """Provides a questions submission system for podcasts.
Developed by SeaswimmerTheFsh.""" Developed by cswimr."""
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Send!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Send!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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!.",

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing Shortmute!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing Shortmute!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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.",

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh, meelyman"], "author" : ["cswimr, meelyman"],
"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>", "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>",
"name" : "Suggestions", "name" : "Suggestions",
"short" : "Simple suggestions system.", "short" : "Simple suggestions system.",
"description" : "Per guild suggestions system.", "description" : "Per guild suggestions system.",

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"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.", "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.",
"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.",

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing World Zero!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing World Zero!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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!",

View file

@ -1,9 +1,10 @@
from redbot.core import commands
import discord import discord
from redbot.core import commands
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 SeaswimmerTheFsh.""" Developed by cswimr."""
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot

View file

@ -1,6 +1,6 @@
{ {
"author" : ["SeaswimmerTheFsh"], "author" : ["cswimr"],
"install_msg" : "Thank you for installing YouTubeDownloader!\nYou can find the source code of this cog here: https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs", "install_msg" : "Thank you for installing YouTubeDownloader!\nYou can find the source code of this cog here: https://coastalcommits.com/cswimr/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.",