Questions tagged [discord]
For programs interacting with Discord.
12 questions
4
votes
1
answer
71
views
Is using setup functions for commands, events, and tasks a good pattern for structuring a Discord.py bot?
I'm refactoring on a Discord bot using discord.py and I've structured my project as follows:
...
0
votes
0
answers
36
views
Upload/download files from/to Discord channel based on last write time
I have created a script which does the following:
Compare the last write times between...
local save files for the game Valheim and
remote save files (Valheim) on a discord channel where I exchange ...
3
votes
1
answer
77
views
Display summary statistics about Discord messages
This is just a program that displays summary statistics about discord messages sent to a certain user using a Discord data package. The CSV of messages to a user is ...
1
vote
1
answer
2k
views
Working Support Ticket Bot for Discord built with Discord.py
Here is a working support ticket bot for discord using discord.py api. There is a slash command to launch the system which brings up a button to submit a ticket which when clicked creates a new text ...
2
votes
1
answer
267
views
Check RSS feed and post to Discord
I'm new to using JS for anything other than DOM manipulation, so I'm not sure if the following code is taking full advantage of the Async concept in JS.
This is an example of a function I'm writing in ...
2
votes
1
answer
480
views
Split message when too many character
Im currently working with discord with Python 3.9.6 where I am trying to create a embed based on how much text I have.
According to discord:
...
2
votes
0
answers
122
views
More Efficent Code for Announcment Command in Discord.js
I am creating a command in my discord bot to send an announcement to every server it is in, and this is the only way i could think of doing it, but i know there is a more efficient way of doing it.
...
1
vote
1
answer
406
views
Discord.py pages for a leaderboard
So I've got a Discord bot that will load information about a user's personal charts and display it to them, and one of the commands is to get their leaderboard and show them the most successful songs ...
1
vote
2
answers
2k
views
A discord.py bot that logs every messages sent in a discord server
Hello Code Review community !
I'm making a bot with discord.py that listens to every message sent in a server and stores it in a database that could be retrieved by admin/mod later.
Here's the ...
1
vote
1
answer
773
views
Very slow Discord bot to play music
I have been writing a discord.py bot, running on replit.com. I gotten to the music bot part after finishing the queue part. My code is logically correct; however, the code is way too inefficient ...
3
votes
1
answer
868
views
Creating embed for Discord reading from dictionary
I have been working on where I create a payload of dicts with different values as store, name etc etc which you will see very soon. The idea is that with the payload I send to this script, it should ...
6
votes
1
answer
455
views
Entire Discord bot
I've made a Discord bot, and (to my knowledge) the code is pretty good. However, I've mostly taught myself Python and discord.py (the discord library for Python), so I was wondering if there's any ...