Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dnns01
root
Commits
2622e3ff
Unverified
Commit
2622e3ff
authored
3 years ago
by
dnns01
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #14 from FU-Hagen-Discord/dnns01-patch-1
Update invite-link
parents
577ae53b
06c62609
Branches
master
No related tags found
1 merge request
!15
Aktualisierung von News-Branch
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.env.template
+1
-0
1 addition, 0 deletions
.env.template
cogs/welcome.py
+1
-1
1 addition, 1 deletion
cogs/welcome.py
with
2 additions
and
1 deletion
.env.template
+
1
−
0
View file @
2622e3ff
...
...
@@ -2,6 +2,7 @@
DISCORD_TOKEN=<Bot Token>
DISCORD_GUILD=<ID of Guild, this Bot should be used at>
DISCORD_ACTIVITY=<What should be shown, Bot is playing right now>
DISCORD_INVITE_LINK=<Invitation Link to this Discord Server>
# IDs
DISCORD_MOD_ROLE=<ID of Mod Role>
...
...
This diff is collapsed.
Click to expand it.
cogs/welcome.py
+
1
−
1
View file @
2622e3ff
...
...
@@ -44,7 +44,7 @@ class Welcome(commands.Cog):
inline
=
False
)
embed
.
add_field
(
name
=
"
:link: Einladungslink
"
,
value
=
"
Mitstudierende kannst du mit folgendem Link einladen:
https://discord.gg/x4nB6bhmgm
.
"
,
value
=
"
Mitstudierende kannst du mit folgendem Link einladen:
os.getenv(
'
DISCORD_INVITE_LINK
'
)
.
"
,
inline
=
False
)
embed
.
add_field
(
name
=
"
\u200b
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment