Skip to content

Discord bot to gather every message from a text channel

Notifications You must be signed in to change notification settings

ajuelosemmanuel/Loggers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Loggers

⚠️ This is very probably outdated ⚠️

Discord bot to gather every message from a text channel.

It can be used for logging (by either creating txt files or writing everything in a new channel).

Another usage could be some "spying" on channels you can't read as a user : if your bot has more permissions than you, you may run this one with your bot's api key and then "read" the content of hidden channels.

Requirements

In order to run the bot properly, you must :

  • Have Python installed on your machine
  • Install the Pycord package :
    • On Linux : pip install -U py-cord --pre
    • On Windows : python -m pip install -U py-cord --pre
  • Fill the config.py file

Commands

The available commands are :

  • servers :

    • Sends the name of each server to which the bot is connected.
  • channels_of

    • Arguments :
      • serv_name : Name of the server.
    • Sends a list of the textual channels to which the bot has access.
  • channels_of

    • Arguments :
      • serv_name : Name of the server.
      • chan_name : Name of the channel
      • txt : Boolean - if set to True, send a txt file instead of sending messages (takes some time)
      • l : Number of messages to gather (Default : 1000)
    • Sends the last l messages from a given channel of a given server. Supports embeds and media (if txt is set to false.)

About

Discord bot to gather every message from a text channel

Topics

Resources

Stars

Watchers

Forks

Languages