Skip to content

Scrap a channel and find the Roll number from the message and username with tag and put that in the google spreadsheet if not already present #9

@piyushchauhan

Description

@piyushchauhan

For example see the messages in #intro channel of Cassiopeia server at https://discord.gg/NYHj58M
Steps:

  • Get the channel where !scrap rolls command is sent.
  • Go to that channel and get the past messages and check if it contains any roll number or not (use regular expression to find the roll number). If no roll number is found in that message move next message.
  • Store the username with tag in the spreadsheet matching to that corresponding roll number. If that roll number does not exist then send the message in that channel saying that roll number is not in the database and mention the moderator so that he can register his name also in the database.
  • Get the username with tag of the author from the message.

Column order in the spreadsheet

Discord username tag Real Name Roll Number email House Comments

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions